package com.tiancheng.trade.payment.util.queue;

import com.tiancheng.trade.payment.channel.apple.ApplePayChannel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @Author: likailun
 * @Description: 延迟队列业务枚举
 * @Date: create in 2022/6/7 4:23 下午
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum RedisDelayQueueEnum {

    TRADE_PAYMENT_APPLE_PAY_QUEUE("TRADE_PAYMENT_APPLE_PAY_QUEUE", "苹果支付校验迟队列", ApplePayChannel.class);

    /**
     * 延迟队列 Redis Key
     */
    private String code;

    /**
     * 中文描述
     */
    private String name;

    private Class bean;
}
